<%--
  Created by IntelliJ IDEA.
  User: 29265
  Date: 2024/12/25
  Time: 23:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>活动信息修改</title>
    <style>
        body {
            font-family: Arial, sans-serif;
        }
        .form-container {
            width: 50%;
            margin: auto;
            padding: 20px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        .form-group {
            margin-bottom: 15px;
        }
        .form-group label {
            display: block;
            margin-bottom: 5px;
        }
        .form-group input, .form-group select {
            width: 100%;
            padding: 8px;
            box-sizing: border-box;
        }
        .submit-btn {
            background-color: #4CAF50;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .submit-btn:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body>
<div class="form-container">
    <h2>修改活动信息</h2>
    <form action="activityServlet" method="Post">
        <div class="form-group">
            <label for="activity_name">活动名称:</label>
            <input type="text" id="activity_name" name="activity_name" required>
        </div>
        <div class="form-group">
            <label for="location">地点:</label>
            <input type="text" id="location" name="location" required>
        </div>
        <div class="form-group">
            <label for="activity_time">活动时间:</label>
            <input type="datetime-local" id="activity_time" name="activity_time" required>
        </div>
        <div class="form-group">
            <label for="activity_description">活动描述:</label>
            <textarea id="activity_description" name="activity_description" rows="4" required></textarea>
        </div>
        <button type="submit" class="submit-btn">保存更改</button>
    </form>
</div>
</body>
</html>
